<?php

namespace app\model;

use support\Model;

/**
 *
 */
class ResultModel extends Model
{
    /**
     * The connection name for the model.
     *
     * @var string|null
     */
    protected $connection = 'mysql';

    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'result';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $primaryKey = 'id';

    /**
     * Indicates if the model should be timestamped.
     *
     * @var bool
     */
    public $timestamps = true;

    protected $fillable = [
        'ip',
        'country_name',
        'country_code',
        'region_name',
        'region_code',
        'city',
        'country_capital',
        'country_calling_code',
        'latitude',
        'longitude',
        'asn',
        'org',
        'timezone',
        'source'
    ];


}
